Programming proofs: a novel approach based on contextual types
نویسنده
چکیده
We present an overview of Beluga, a dependently-typed programming and proof development environment. Beluga uses a two-level approach: it supports specifying formal systems within the logical framework LF and on top of LF, it provides a dependently-typed functional language that supports manipulating and analyzing LF objects via pattern matching. A distinct feature of Beluga is the explicit support for contexts and contextual objects, which concisely characterize objects depending on assumptions. The design of the dependently-typed functional language is generic and independent of the concrete specification language which in Beluga’s case is LF. Moreover, it is unique in its treatment of pattern matching in the presence of dependent types: it is centered around refinement substitutions which refine the types of patterns in case-expressions. This makes type checking decidable although constraint solving itself could be undecidable. In addition to a bi-directional decidable type system for Beluga we give an environment-based operational semantics and show that types are preserved. Beluga together with type reconstruction is implemented in OCaml and has been used on a wide variety of examples such as type uniqueness, proofs about compiler transformations, and preservation and progress for various ML-like languages.
منابع مشابه
Programming Inductive Proofs - A New Approach Based on Contextual Types
In this paper, we present an overview to programming with proofs in the reasoning framework, Beluga. Beluga supports the specification of formal systems given by axioms and inference rules within the logical framework LF. It also supports implementing proofs about formal systems as dependently typed recursive functions. What distinguishes Beluga from other frameworks is that it not only represe...
متن کاملA multi-stage stochastic programming for condition-based maintenance with proportional hazards model
Condition-Based Maintenance (CBM) optimization using Proportional Hazards Model (PHM) is a kind of maintenance optimization problem in which inspections of a system relevant to its failure rate depending on the age and value of covariates are performed in time intervals. The general approach for constructing a CBM based on PHM for a system is to minimize a long run average cost per unit of time...
متن کاملThe Calculation of the output price vectorby applying reverse linear programming: The novel approach in DEA
In the today’s world wherein every routine is based on economic factors, there is no doubt that theoretical sciences are driven by their capabilities and affordances in terms of economy. As a mathematical tool, data envelopment analysis (DEA) is provided to economics, so that one can investigate associated costs, prices and revenues of economic units. Data Envelopment Analysis (DEA) is a linear...
متن کاملA Novel Selection Model of Optimal Portfolio based on Fuzzy Goal Planning, Considering Types of Investors
Assessing risk assets is one of the most important research issues in the financial field. There are various pricing models of capital assets in financial. In many models, it is not possible to consider a lot of restrictions on portfolio selection. In this paper, for choosing optimal portfolios, taking into account the prosperity and recession periods, and the types of investors in terms of ris...
متن کاملA Novel Charging Plan for PEVs Aggregator Based on Combined Market and Network Driven Approach
With the large-scale production of plug-in electric vehicles (PEVs), a new entity, the PEV fleet aggregator manages charging and discharging processes of the vehicles. The main objective of an individual aggregator in interaction with electricity markets is maximizing its profit. In this paper, the performance of this aggregator in day-ahead and real-time electricity markets, considering (a) cu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2011